package com.zaydanwu.cla.service;

import com.zaydanwu.cla.model.TeacherMessage;

/**
 * @BelongsProject: cla
 * @BelongsPackage: com.zaydanwu.cla.service
 * @Author: zaydanwu
 * @CreateTime: 2018-12-10 22:40
 * @Description:
 */
public interface TeacherMessageService {

    /**
     * 获取教师信息
     *
     * @param name 教师姓名
     * @return 教师信息
     */
    TeacherMessage getTeacherMessage(String name);

    /**
     * 保存教师信息
     *
     * @param teacherMessage 教师信息
     * @return 保存的条数
     */
    int saveTeacherMessage(TeacherMessage teacherMessage);

}
